Risk Allocation Contracts